package com.iotp.dao.user;

import com.iotp.entity.user.CommUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;


@Mapper
public interface CommUserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(CommUser record);

    int insertSelective(CommUser record);

    CommUser selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(CommUser record);

    int updateByPrimaryKey(CommUser record);

    List<CommUser> selectByCondition(CommUser commUser);

    CommUser selectByIdAndPwd(HashMap<String, Object> params);

}